package seg.tef4.whms.apis;

import java.util.Map;

import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.POST;
import retrofit2.http.Query;
import retrofit2.http.QueryMap;


public interface EquipmentApi {
    @POST("/wms/equipment/get_out_type")
    public Call<ResponseBody> getOutType(@Header("Authorization") String token);

    @POST("/wms/equipment/get_product_line")
    public Call<ResponseBody> getProductLine(@Header("Authorization") String token);

    @POST("/wms/equipment/get_station")
    public Call<ResponseBody> getStation(@Header("Authorization") String token,@Query("line") String line);

    @POST("/wms/equipment/get_status")
    public Call<ResponseBody> getStatus(@Header("Authorization") String token);

    @GET("/wms/equipment/list")
    public Call<ResponseBody> list(@Header("Authorization") String token, @QueryMap Map<String, String> queryParams);
}
